<?php /* Smarty version Smarty-3.1.11, created on 2013-08-27 09:13:47
         compiled from "..\templates\tuyensinh\chitiet_tk_nh.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7514521c08d155b1d9-12897184%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e14441b1e2c07d82f37d54a80227c2ba9492b8f7' => 
    array (
      0 => '..\\templates\\tuyensinh\\chitiet_tk_nh.tpl',
      1 => 1377569624,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7514521c08d155b1d9-12897184',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_521c08d16b0d47_85868263',
  'variables' => 
  array (
    'tenkieu' => 0,
    'SL_hien' => 0,
    'hientai' => 0,
    'ds' => 0,
    'i' => 0,
    'sv' => 0,
    'sotrang' => 0,
    'url' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_521c08d16b0d47_85868263')) {function content_521c08d16b0d47_85868263($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\xampp\\htdocs\\tuyensinh\\lib\\smarty\\plugins\\modifier.date_format.php';
?><div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Danh sách sinh viên: <?php echo $_smarty_tpl->tpl_vars['tenkieu']->value;?>
</h3>
	</div> <!-- End .content-box-header -->	
	<div class="content-box-content">
<!----------------------------------------------------------------- NỘI DUNG TRANG------------------------------------------------------------------------>
        			
        <form action="" method="POST" id="formnoidung" name="dulieu" enctype="multipart/form-data" onsubmit="return ktnhap_cb()">
        <table>
            <tr class="linebottom">
                <td class="cangiua td-30"><b>STT</b></td>
                <td class="cangiua td-80"><b>Mã SV</b></td></td>
                <td class="td-180"><b>Họ tên</b></td>
                <td class="td-50"><b>GT</b></td>
                <td class="cangiua td-60"><b>Ngày sinh</b></td>
                <td class="td-200"><b>Ngành</b></td>
                <td class="td-80"><b>SBD</b></td>
                <td class="cangiua td-50"><b>Môn 1</b></td>
                <td class="cangiua td-50"><b>Môn 2</b></td>
                <td class="cangiua td-50"><b>Môn 3</b></td>
                <td class="cangiua td-50"><b>Tổng</b></td>                
            </tr>
            <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_variable(($_smarty_tpl->tpl_vars['SL_hien']->value*($_smarty_tpl->tpl_vars['hientai']->value-1))+1, null, 0);?>
            <?php  $_smarty_tpl->tpl_vars['sv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['ds']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sv']->key => $_smarty_tpl->tpl_vars['sv']->value){
$_smarty_tpl->tpl_vars['sv']->_loop = true;
?>
            <tr class="linebottom">
                <td class="cangiua"><?php echo $_smarty_tpl->tpl_vars['i']->value++;?>
</td>
                <td ><?php echo $_smarty_tpl->tpl_vars['sv']->value['masv_tt'];?>
</td>
                <td ><a href="index.php?muc=tuyensinh&modul=xemchitiet_tuyensinh&idsv=<?php echo $_smarty_tpl->tpl_vars['sv']->value['sbd_tt'];?>
"><?php echo $_smarty_tpl->tpl_vars['sv']->value['hoten_tt'];?>
</a></td>
                <td ><?php echo $_smarty_tpl->tpl_vars['sv']->value['gioitinh_tt'];?>
</td>
                <td class="cangiua"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['sv']->value['ngaysinh_tt'],'%d/%m/%Y');?>
</td>
                <td ><?php echo $_smarty_tpl->tpl_vars['sv']->value['nganh_tt'];?>
</td>
                <td ><?php echo $_smarty_tpl->tpl_vars['sv']->value['sbd_tt'];?>
</td>
                <td class="cangiua"><?php echo $_smarty_tpl->tpl_vars['sv']->value['mon1_tt'];?>
</td>
                <td class="cangiua"><?php echo $_smarty_tpl->tpl_vars['sv']->value['mon2_tt'];?>
</td>
                <td class="cangiua"><?php echo $_smarty_tpl->tpl_vars['sv']->value['mon3_tt'];?>
</td>
                <td class="cangiua"><?php echo $_smarty_tpl->tpl_vars['sv']->value['tongdiem_tt'];?>
</td>
            </tr> 
            <?php } ?>
                    <!---------------------------------------------------------phân trang--------------------------------------------------------->
        <?php if ($_smarty_tpl->tpl_vars['sotrang']->value>1){?>    
            <tr>
                <td colspan="11">
                    <?php  $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->value = 1;
  if ($_smarty_tpl->tpl_vars['i']->value<=$_smarty_tpl->tpl_vars['sotrang']->value){ for ($_foo=true;$_smarty_tpl->tpl_vars['i']->value<=$_smarty_tpl->tpl_vars['sotrang']->value; $_smarty_tpl->tpl_vars['i']->value++){
?>
                        <?php if ($_smarty_tpl->tpl_vars['i']->value!=$_smarty_tpl->tpl_vars['hientai']->value){?>
                            <a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
&batdau=<?php echo $_smarty_tpl->tpl_vars['SL_hien']->value*($_smarty_tpl->tpl_vars['i']->value-1);?>
">|<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
|</a>
                        <?php }else{ ?>
                            <font color=red>|<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
|</font>
                        <?php }?>    
                    <?php }} ?>
                </td>
            </tr>
        <?php }?>    
        </table>
        </form>
                   
<!-----------------------------------------------------------KẾT THÚC NỘI DUNG TRANG------------------------------------------------------------------------>
</div> <!-- End .content-box-content -->
</div> <!-- End .content-box --><?php }} ?>